const apis = {
    system: {
        uploadFile: {
            url: "/wxapp/index/one",
            showLoading: true,
        },
        serviceData: {
            url: "/user/workerorder/datainfo",
            showLoading: true,
            auth: true,
        },
        carefree: {
            url: "/user/workerinfo/carefree",
            showLoading: true,
            auth: true,
        },
        notify: {
            cate: {
                url: "/wxapp/index/newcate",
                showLoading: true,
            },
            list: {
                url: "/wxapp/index/newlistbycateid",
                showLoading: true,
            },
            detail: {
                url: "/wxapp/index/newinfobyid",
                showLoading: true,
            }
        },
        config: {
            url: "/wxapp/index/about",
        }
    },
    user: {
        sendCode: {
            url: "/wxapp/public/send",
        },
        openId: {
            url: "/wxapp/public/getopenid",
        },
        register: {
            url: "/wxapp/public/registerb",
            showLoading: true,
        },
        login: {
            url: "/wxapp/public/loginb",
            showLoading: true,
        },
        resetPassword: {
            url: "/wxapp/public/passwordReset",
            showLoading: true,
        },
        info: {
            url: "/user/workerinfo/getuserinfo",
            auth: true,
        },
        setServiceInfo: {
            url: "/user/workerinfo/setinfo",
            showLoading: true,
            auth: true,
        },
        setServiceState: {
            url: "/user/workerinfo/setworker",
            showLoading: true,
            auth: true,
        },
        withdraw: {
            withdraw: {
                url: "/user/workerinfo/drawmoney",
                showLoading: true,
                auth: true,
            },
            explain: {
                url: "/wxapp/index/getdistributionmoney",
                showLoading: true,
                auth: true,
            }
        },
        appraise: {
            count: {
                url: "/wxapp/index/seemyevaluation",
                auth: true,
            },
            list: {
                url: "/wxapp/index/mysevaluation",
                showLoading: true,
                auth: true,
            }
        },
        cash: {
            log: {
                url: "/user/workerinfo/drawmoneylog",
                showLoading: true,
                auth: true,
            }
        }
    },
    service: {
        cate: {
            url: "/wxapp/index/category1",
            showLoading: true,
        },
        carType: {
            url: "/wxapp/index/getallcar",
            showLoading: true,
        },
    },
    get: {
        list: {
            t1: {
                url: "/user/workerorderb/getallorder",
                showLoading: true,
                auth: true,
            },
            t2: {
                url: "/user/workerorderc/getallorder",
                showLoading: true,
                auth: true,
            },
            t3: {
                url: "/user/workerorder/getallcarorder",
                showLoading: true,
                auth: true,
            }
        },
        detail: {
            t1: {
                url: "/user/workerorderb/orderinfo",
                showLoading: true,
                auth: true,
            },
            t2: {
                url: "/user/workerorderc/orderinfobyid",
                showLoading: true,
                auth: true,
            },
            t3: {
                url: "/user/workerorder/getcarorderinfobyid",
                showLoading: true,
                auth: true,
            },
        },
        getOrder: {
            t1: {
                url: "/user/workerorderb/workerorderbyid",
                showLoading: true,
                auth: true,
            },
            t2: {
                url: "/user/workerorderc/joinorder",
                showLoading: true,
                auth: true,
            },
            t3: {
                url: "/user/workerorder/workerorderbyid",
                showLoading: true,
                auth: true,
            },
        }
    },
    order: {
        list: {
            t1: {
                url: "/user/workerorderb/getmyorderb",
                showLoading: true,
                auth: true,
            },
            t2: {
                url: "/user/workerorderc/myorderlist",
                showLoading: true,
                auth: true,
            },
            t3: {
                url: "/user/workerorder/getmycarorder",
                showLoading: true,
                auth: true,
            },
        },
        detail: {
            t1: {
                url: "/user/workerorderb/orderinfo",
                showLoading: true,
                auth: true,
            },
            t2: {
                url: "/user/workerorderc/orderinfobyid",
                showLoading: true,
                auth: true,
            },
            t3: {
                url: "/user/workerorder/getcarorderinfobyid",
                showLoading: true,
                auth: true,
            },
        },
        finish: {
            t1: {
                url: "/user/workerorderb/orderok",
                showLoading: true,
                auth: true,
            },
            t2: {
                url: "/user/workerorderc/orderok",
                showLoading: true,
                auth: true,
            },
            t3: {
                url: "",
            }
        },
        refund: {
            t1: {
                url: "/user/workerorderb/agreerefund",
                showLoading: true,
                auth: true,
            },
            t2: {
                url: "/user/workerorderc/agreerefund",
                showLoading: true,
                auth: true,
            },
            t3: {
                url: "",
            }
        },
        appeal: {
            t1: {
                url: "/user/workerorderb/disagreerefund",
                showLoading: true,
                auth: true,
            },
            t2: {
                url: "/user/workerorderc/disagreerefund",
                showLoading: true,
                auth: true,
            },
            t3: {
                url: "",
            }
        }
    },
}

export default apis
